
using AutoMapper;
using SOEI.Solution.Customized.Dtos;
using SOEI.Solution.DomainEntities.PurQualificationAudit;
using SOEI.Solution.DomainEntities.PurQualificationAudit.Dtos;

namespace SOEI.Solution.CustomDtoAutoMapper
{

    /// <summary>
    /// 配置Member的AutoMapper映射
    /// 前往 <see cref="SolutionApplicationModule"/>的AbpAutoMapper配置方法下添加以下代码段
    /// PurQualificationApplyDtoAutoMapper.CreateMappings(configuration);
    /// </summary>
    public static class PurQualificationApplyDtoAutoMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap<PurQualificationApply, PurQualificationApplyListDto>();
            configuration.CreateMap<PurQualificationApplyListDto, PurQualificationApply>();

            configuration.CreateMap<PurQualificationApplyEditDto, PurQualificationApply>();
            configuration.CreateMap<PurQualificationApply, PurQualificationApplyEditDto>();

            configuration.CreateMap<TrailingDataEditDto, PurQualificationApplyEditDto>();
            configuration.CreateMap<PurQualificationApplyEditDto, TrailingDataEditDto>();

            configuration.CreateMap<PurFamilyMemberDataEditDto, PurQualificationApplyEditDto>();
            configuration.CreateMap<PurQualificationApplyEditDto, PurFamilyMemberDataEditDto>();

            configuration.CreateMap<SmsVerifyEditDto, PurQualificationApply>();
            configuration.CreateMap<PurQualificationApply, SmsVerifyEditDto>();

            configuration.CreateMap<PurHouseDataEditDto, PurQualificationApply>();
            configuration.CreateMap<PurQualificationApply, PurHouseDataEditDto>();

            configuration.CreateMap<PurPeoInfor, PurQualificationApply>();
            configuration.CreateMap<PurQualificationApply, PurPeoInfor>();

            configuration.CreateMap<PurQualificationInfoListDto, PurQualificationApply>();
            configuration.CreateMap<PurQualificationApply, PurQualificationInfoListDto>();

            configuration.CreateMap<PurQualificationApply, PurQualificationChage>();
            configuration.CreateMap<PurQualificationChage, PurQualificationApply>();

        }
    }
}